import Vue from 'vue'
import Router from 'vue-router'
import axios from 'axios'
import Index from '../components/index'
import myRouter from '../components/common/helloWorld'
import choiceLesson from '../components/choiceLesson'
import AppDownload from '../components/appDownLoad'
import Detail from "../components/common/detail.vue"
import Me from "../components/me.vue"
import Swipers from "../components/common/swipers.vue"
import Tabs from "../components/common/tabs.vue"
Vue.use(axios)
Vue.use(Router)
export default new Router({
  routes: [
    {
      path:'/myrouter',
      name:'myRouter',
      component:myRouter
    },
    {
      path:'/choiceLesson',
      name:'choiceLesson',
      component:choiceLesson
    },
    {
      path:'/appDownload',
      name:'AppDownload',
      component:AppDownload
    },
    {
      path:'/detail',
      name:'Detail',
      component:Detail
    },
    {
      path:'/me',
      name:'Me',
      component:Me
    },
    {
      path:'/swipers',
      name:'Swipers',
      component:Swipers
    },
    {
      path:'/tabs',
      name:'Tabs',
      component:Tabs
    },
    {
      path: '/index',
      name: 'Index',
      component: Index
    }
  ]
})
